Found a 3-input solution that had 24 instructions AND a 2-input solution with 30 instructions, both of which ended up with the exact same secondary but a worse tertiary.